package com.yneusoft.common.enums;

import lombok.Getter;

/**
 * 全局的返回值
 *
 * @author 易用软件-朱新旺(zhuxinwang@aliyun.com)
 * @date 2018/11/13 0013 20:55
 */
@Getter
public enum GlobalEnum {
    /**
     * 枚举开发代码全局的值
     */
    ERROR("-1", "失败，不正常的返回"),
    OPTIONS("OPTIONS", "http的一种请求方式"),
    UTF_8("UTF-8", "UTF-8的编码范式"),
    SUCCESS("success","成功");

    private String code;
    private String massage;

    GlobalEnum(String code, String message) {
        this.code = code;
        this.massage = message;
    }
}
